//
//  QAStyleOneTableViewCell.m
//  Toyohu
//
//  Created by Heige on 16/5/10.
//  Copyright © 2016年 celia. All rights reserved.
//

#import "QAStyleOneTableViewCell.h"



@implementation QAStyleOneTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setModels:(ArticleMsg *)msg
{
    self.title.text = msg.caTitle;
    self.content.text = msg.caContent;
    self.focusNum.text = [NSString stringWithFormat:@"%.f", msg.caViewNum ];
    self.ansNum.text = [NSString stringWithFormat:@"%.f", msg.caCommentNum ];
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
